<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title>Title of website</title>

<link rel="stylesheet" href="<?php echo base_url('assets/css/reset.css')?>">

<link rel="stylesheet" href="<?php echo base_url('assets/css/regis.css')?>">

<script src="<?php echo base_url('assets/js/jquery.1.7.2.min.js')?>" type="text/javascript"></script>

<script src="<?php echo base_url('assets/js/jquery.site.js')?>" type="text/javascript"></script>

</head>

<body>
<div id="" class="wrapper">
	<div id="regis" class="">
		<h1>Login</h1>
		<form action="login" method="post" accept-charset="utf-8">
		
		<p>
			<label for="">Username:</label>
			<input type="text" name="user" value="<?php echo set_value('username'); ?>" placeholder="Username">
			
			<?php echo form_error('user'); ?>
		</p>
		<p>
			<label for="">Password:</label>
			<input type="password" name="pass" value="<?php echo set_value('username'); ?>" placeholder="Password">
			<?php echo form_error('pass'); ?>
		</p>
		<?php if($error == 1):?>
		<p>
			<span class="error">Tên đăng nhập hoặc mật khẩu không đúng</span>
		</p>
		<?php endif;?>
		<p><input type="submit" name="" value="Login" class="submit"></p>
		<p class="clear">
			<a href="" title="">Forgot password?</a>
			<?php echo anchor('user/register','Register an account ?',array('title' => 'Register an account'))?>
			
		</p>
		</form>
	</div><!-- / REGISTER-->
	<div id="more" class="">
		<ul id="" class="floatLeft">
			<li><a href="" title=""><img src="<?php echo base_url('assets')?>/images/icon/thoi-trang.png" alt=""> Thời trang</a></li>
			<li><a href="" title=""><img src="<?php echo base_url('assets')?>/images/icon/my-pham.png" alt="">Mỹ phẩm</a></li>
			<li><a href="" title=""><img src="<?php echo base_url('assets')?>/images/icon/dien-may.png" alt="">Điện máy</a></li>
		</ul><!-- / -->
		<ul id="" class="floatLeft">
			<li><a href="" title=""><img src="<?php echo base_url('assets')?>/images/icon/lap-top.png" alt="">Máy tính-laptop</a></li>
			<li><a href="" title=""><img src="<?php echo base_url('assets')?>/images/icon/jobs.png" alt="">Việc làm</a></li>
			<li><a href="" title=""><img src="<?php echo base_url('assets')?>/images/icon/hoc-tap.png" alt="">Kiến thức</a></li>
		</ul><!-- / -->
		<ul id="" class="floatRight">
			<li><a href="" title=""><img src="<?php echo base_url('assets')?>/images/icon/luat.png" alt="">Luật</a></li>
			<li><a href="" title=""><img src="<?php echo base_url('assets')?>/images/icon/suckhoe.png" alt="">Sức khỏe</a></li>
			<li><a href="" title=""><img src="<?php echo base_url('assets')?>/images/icon/du-lich.jpg" alt="">Du lịch</a></li>
		</ul><!-- / -->
		<div id="" class="clear"></div><!-- / -->
	</div><!-- / -->
</div><!-- / -->
</body>
</html>
